package com.example.factory.core.repository;

import com.example.factory.core.domain.Department;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

/**
 * @author Lei Tao
 */
@Repository
public interface DepartmentRepository extends PagingAndSortingRepository<Department, Long>, DepartmentRepositoryCustom{
    Department findByGuidAndArchivedFalse(String guid);
}
